﻿using Entity.BaseEntitys;
using Entity.BaseSplit;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [Index(nameof(RoleName), nameof(RoleDescribe))]
    public class Role:CreateEntity<Guid>
    {

 
        [StringLength(256)]
        public string RoleName { get; set; } = "";


        public string RoleDescribe { get; set; } = "";

    }


    public class RoleSplitDataSourceRoute : BaseSplitDataSourceRoute<Role, Guid>
    {

    }
}
